/**
 * Created by truexinology on 16/8/19.
 */

export const health = {
    
    type: {
        //"type": "string,检测类型。1：血压，3：体温，4：脂肪，6：体重",
        blood: '1',
        temperature: '3',
        fat: '4',
        weight: '6',
    },

    api: {
        prefix: lf.prod ?
            'basic.prod.liefengtech.com' :
            'basic.test.liefengtech.com',

        //根据custGlobalId获取员工信息
        getGlobalId:'/api/work/auth/getStaffByCustGlobalId',//post

        //
        login:'/api/work/auth/login',//post

        //获取员工的菜单
        menuList: '/api/work/auth/getSysMenuList',//post

        //报事列表
        list: '/api/work/event/listEventReport',//get

        //获取通知的数量【待审核，待发布，新通知数量,管理制度】
        num: '/api/work/workbench/getNoticeNumber',//get

        //获取任务数量
        taskNum: '/api/work/workbench/getTaskCount',//post

        //获取报事咨询统计数量
        amount: '/api/work/event/getEventConsultAmount',//get

        //头部数据, 待审批,已审批列表
        getCount: '/api/work/workFlow/getCountsToHead',//get

        //抢单/签收/工单列表头部
        listHeader: '/api/work/event/getCountsToHead',//post

        //查询历史报事列表
        history: '/api/work/event/getEventReportList',//get

        //查找报事相关负责人/参与人
        workflow: '/api/work/event/getEventStaffList',

        //创建评价
        comment: '/api/work/event/createEventAccepterEval',

        //报事处理详情
        detail: '/api/work/event/getEventReport',

        //派单
        dispatch: '/api/work/event/updateEventReportByOrder',//post

        //抢单/签收
        doRush: '/api/work/event/signforEventReport',

        //签收列表
        signForList: '/api/work/event/getSignForEventReportList',

        //详情,包括抢单/签收详情
        getdetail: '/api/work/event/getEventReportDetail',

        //抢单列表
        rushList: '/api/work/event/getGrabEventReportList',

        //列表
        listByType: '/api/work/event/getEventReportListByType',//有重复

        //退回
        sendBack: '/api/work/event/sendBackEventReport',//post

        //执行报事流程/领导审核通过/领导审核不通过/办理/派工
        execute: '/api/work/event/executeEventReportFlow',//post

        //派单
        distributeLeaflets: '/api/work/event/updateEventProcessOrder',

        //撤回
        withdraw: '/api/work/event/withdrawEventReport',

        //获得报事咨询菜单数量
        getAmount: '/api/work/event/getEventConsultAmount',

        //报事咨询列表
        findList: '/api/work/event/findEventConsultList',

        //审核人
        DirectorsStaffId:'/api/work/event/getDirectorsByStaffId',

        //第一级菜单待回复列表下面问题和回复列表，待审核列表
        ConsultList: '/api/work/event/getEventConsultList',

        //发送咨询内容
        replyConsult:  '/api/work/event/replyEventConsult',

        //第一级菜单待回复列表下面问题列表(审核列表)
        Detail4Check: '/api/work/event/getEventConsultDetail4Check',

        //待审核发送内容
        checkConsult: '/api/work/event/checkEventConsult',

        //报事统计数量
        reportCount: '/api/work/event/getEventReportCount',

        //报事统计列表
        ReportListByStatus:'/api/work/event/getEventReportListByStatus',

        //小区列表
        projectList: '/api/work/project/getProjectByStaff',

        //创建报事
        create: '/api/work/event/createEventReport',

    },
};
